package com.dime.physical.mapper;

import java.util.List;
import com.dime.physical.domain.DimeInquirychronicoccupationalhistory;

/**
 * 问诊急慢性职业史Mapper接口
 * 
 * @author Tiny
 * @date 2023-10-07
 */
public interface DimeInquirychronicoccupationalhistoryMapper 
{
    /**
     * 查询问诊急慢性职业史
     * 
     * @param id 问诊急慢性职业史主键
     * @return 问诊急慢性职业史
     */
    public DimeInquirychronicoccupationalhistory selectDimeInquirychronicoccupationalhistoryById(String id);

    /**
     * 查询问诊急慢性职业史列表
     * 
     * @param dimeInquirychronicoccupationalhistory 问诊急慢性职业史
     * @return 问诊急慢性职业史集合
     */
    public List<DimeInquirychronicoccupationalhistory> selectDimeInquirychronicoccupationalhistoryList(DimeInquirychronicoccupationalhistory dimeInquirychronicoccupationalhistory);

    /**
     * 新增问诊急慢性职业史
     * 
     * @param dimeInquirychronicoccupationalhistory 问诊急慢性职业史
     * @return 结果
     */
    public int insertDimeInquirychronicoccupationalhistory(DimeInquirychronicoccupationalhistory dimeInquirychronicoccupationalhistory);

    /**
     * 修改问诊急慢性职业史
     * 
     * @param dimeInquirychronicoccupationalhistory 问诊急慢性职业史
     * @return 结果
     */
    public int updateDimeInquirychronicoccupationalhistory(DimeInquirychronicoccupationalhistory dimeInquirychronicoccupationalhistory);

    /**
     * 删除问诊急慢性职业史
     * 
     * @param id 问诊急慢性职业史主键
     * @return 结果
     */
    public int deleteDimeInquirychronicoccupationalhistoryById(String id);

    /**
     * 批量删除问诊急慢性职业史
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDimeInquirychronicoccupationalhistoryByIds(String[] ids);

    public List<DimeInquirychronicoccupationalhistory>  selectDimeInquirychronicoccupationalhistoryByPhysicalId(String physicalId);

   public int deleteDimeInquirychronicoccupationalhistoryByPhysicalId(String physicalId);
}
